package com.sgzn.sgpay.web.request.Impl;

import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 上分（消费）请求
 * @author zhongzhongyong
 * @version Id: CreditConsumeRequest.java, v 0.1 2018/4/22 14:29 zhongzhongyong Exp $$
 */
@Data
@ToString(callSuper = true)
public class CreditConsumeRequest extends UserBaseRequest {

    @NotBlank(message = "设备号不允许为空")
    private String deviceId;

    @NotBlank(message = "消费积分不允许为空")
    private String cost;
}

